package com.example.music.network;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

public  class RetrofitBase {
    private static final Retrofit RETROFIT = new Retrofit.Builder()
            .baseUrl("http://192.168.1.104:5000/")
            .addConverterFactory(GsonConverterFactory.create())
            .build();
    public static  <T> T getService(Class<T> tClass){
        return RETROFIT.create(tClass);
    }
}
